package mvc.control
{
	import com.adobe.cairngorm.control.CairngormEvent;

	import orm.fantasy.TblCharacterVO;

	public class CharacterEvent extends CairngormEvent
	{
		public function CharacterEvent(type:String,
			tblCharacterVO:TblCharacterVO = null,
			bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);

			_tblCharacterVO = tblCharacterVO;
		}
		public static var ADD_CHARACTER:String = "add_character";
		public static var ADD_CHARACTER_FINISH:String = "add_character_finish";
		public static var ADD_CHARACTER_CANCEL:String = "add_character_cancel";

		public static var REMOVE_CHARACTER:String = "remove_character";
		public static var REMOVE_CHARACTER_YES:String = "remove_character_yes";
		public static var REMOVE_CHARACTER_NO:String = "remove_character_no";

		public static var NEW_DESIGN_CHARACTER:String = "new_design_character";
		public static var CHARACTERS_REFRESHED:String = "characters_refreshed";

		private var _tblCharacterVO:TblCharacterVO;

		public function get tblCharacterVO():TblCharacterVO
		{
			return _tblCharacterVO;
		}
	}
}